import {requestGet,requestPost} from"../utils/request/request.js"



/**
 * 获取验证码
 */
export const getSendMessage=(obj)=>{
	 return requestPost("api/Client/SendMessage",obj)
}


/**
 * 用户登录/绑定账号
 */
export const bindUser=(obj)=>{
	 return requestPost("api/WeChat/BindUser",obj)
}



/**
 * 检查用户是否登录
 */
export const checkLogin=(obj)=>{
	 return requestGet("api/WeChat/CheckBindByAppid",obj)
}


/**
 * 解除绑定用户
 */
export const UnBindUser=(obj)=>{
	 return requestPost("api/WeChat/UnBindUser",obj)
}


